KingsportMillSafetyTrainingDbContext..::..EditSlide Method

Edits the slide.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db (in MichaelBrandonMorris.KingsportMillSafetyTraining.Db.dll)

Syntax


public void EditSlide(
	IList<Answer> answers,
	int categoryId,
	string content,
	int correctAnswerIndex,
	int id,
	byte[] imageBytes,
	string imageDescription,
	string question,
	bool shouldShowImageOnQuiz,
	bool shouldShowQuestionOnQuiz,
	bool shouldShowSlideInSlideshow,
	string title
)
Public Sub EditSlide ( _
	answers As IList(Of Answer), _
	categoryId As Integer, _
	content As String, _
	correctAnswerIndex As Integer, _
	id As Integer, _
	imageBytes As Byte(), _
	imageDescription As String, _
	question As String, _
	shouldShowImageOnQuiz As Boolean, _
	shouldShowQuestionOnQuiz As Boolean, _
	shouldShowSlideInSlideshow As Boolean, _
	title As String _
)
public:
void EditSlide(
	IList<Answer^>^ answers, 
	int^ categoryId, 
	String^ content, 
	int^ correctAnswerIndex, 
	int^ id, 
	array<unsigned char^>^ imageBytes, 
	String^ imageDescription, 
	String^ question, 
	bool^ shouldShowImageOnQuiz, 
	bool^ shouldShowQuestionOnQuiz, 
	bool^ shouldShowSlideInSlideshow, 
	String^ title
)

Parameters

answers
Type: IList<(Of <(<'Answer>)>)>
The answers.
categoryId
Type: Int32
The category identifier.
content
Type: String
The content.
correctAnswerIndex
Type: Int32
Index of the correct answer.
id
Type: Int32
The identifier.
imageBytes
Type: array<Byte>[]()[][]
The image bytes.
imageDescription
Type: String
The image description.
question
Type: String
The question.
shouldShowImageOnQuiz
Type: Boolean
if set to true [should show image on quiz].
shouldShowQuestionOnQuiz
Type: Boolean
if set to true [should show question on quiz].
shouldShowSlideInSlideshow
Type: Boolean
if set to true [should show slide in slideshow].
title
Type: String
The title.